package com.kn.keywordmatch.dto.req;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class VerifyKeywordExpressionReq {

    @NotBlank(message = "表达式不能为空")
    @Length(max = 1000,min = 1,message = "表达式在1-1000之间")
    private String expression;
}
